This is another utility used to create an index of your WWW server's file structure. It has been written in both AppleScript as well as Aretha. Only the AppleScript version is discussed here.
WebStar/MacHTTP Indexer does require a bit of configuring to run. First, within the Index All Folders script, it is a good idea to define NoIndexFolders to contain the folders you do no want indexed. For example, you may not want your root folder indexed as well as a folder that contains restricted information. Thus, you may want to define NoIndexFolders as {"", "restricted"} assuming you have a folder called "restricted". You may also want to define DebugSys so the indexer creates a report of its activities and you may want to define SaveLog so old logs get deleted automatically. Finally, since WebStar/MacHTTP Indexer is really a set of two programs you will want to define Using WebSTAR in the WebSTAR Indexer script to be true or false depending on whether or not your server is MacHTTP or WebSTAR.
After running the Index All Folders script, a new file will be created in the root directory of your server. This file will be named "index.html" and will contain a list of all the files in your server's hierarchy. If you copied the supplied icons folder to your root, then each file will be accompanied by a representative icon as well. Depending on how many documents you have on your server, the creation of index.html could take quite a long time.
Like similar scripts in its class, this program is intended to eliminate the "file not found" errors that sometimes occur; the index.html file is intended to be displayed by the server when the server can not find a requested file. Unfortunately, WebStar/MacHTTP Indexer assumes the default file of every folder is "index.html". If you have defined your default differently, then WebStar/MacHTTP Indexer points to incorrect files when folders are selected. Three solutions are suggested for the problem:
In summary, WebStar/MacHTTP Indexer does what it says it does, but you get what you pay for. If you can script AppleScript, then you could modify this script to better suit your needs. WebStar/MacHTTP Indexer would then be a robust program. Otherwise, you might want to try some other solution.
Eric last edited this page on September 26, 1995. Please feel free to send comments.